python create environment variable

37

creating environment variable in python -

$ pip install python-decouple

creating environment variable in python -

from decouple import config

creating environment variable in python -

DEBUG=False python manage.py

creating environment variable in python -

DEBUG = config('DEBUG', default=True, cast=bool)

Comments

Submit
0 Comments